package com.henary.annotation.bean;

import org.springframework.stereotype.Component;

/**
 * @author henary
 * @date 2022年09月19日 14:10
 */
@Component
public class Car {

	private String brand;

	public Car(String brand) {
		this.brand = brand;
	}

	public Car() {
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Override
	public String toString() {
		return "Car{" +
				"brand='" + brand + '\'' +
				'}';
	}
}
